package swingxrcp.framework.util;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;

public class ConfigUtils {

	private ConfigUtils() {}

	public static Collection<String> split(String config) {
		if (config == null)
			return Collections.unmodifiableList(new ArrayList<String>(0));
		else
			return Collections.unmodifiableList(Arrays.asList(config.split("\\,")));
	}

}
